Unpack xen_features into an array of u8 'booleans'
authorIan.Campbell@xensource.com <Ian.Campbell@xensource.com>
Wed, 1 Feb 2006 20:11:18 +0000 (20:11 +0000)
committerIan.Campbell@xensource.com <Ian.Campbell@xensource.com>
Wed, 1 Feb 2006 20:11:18 +0000 (20:11 +0000)
commit5361e93da794854ab01c0158e98db822cc31cfce
treeed8c743827d30cf8f5199ed6fb86b96533c6c919
parent90951a5c3e89966d0e81ba9848a3bece1e3e1d79
Unpack xen_features into an array of u8 'booleans'

This allows us to avoid including bitops.h all over the tree as well
as avoiding any potential endianness issues in the future.

Use __read_mostly on the xen_features array now that the tree is based
on a version of Linux which supports it.

Also export xen_features for use in modules.

Signed-off-by: Ian Campbell <Ian.Campbell@XenSource.com>
linux-2.6-xen-sparse/drivers/xen/core/features.c
linux-2.6-xen-sparse/include/xen/features.h